<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>base</title>
<link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/memberInfo.js"></script>
<script type="text/javascript">
	function init() {
		var name = new Array("user_sex","user_height","user_weight","user_waistline","user_type","veri_email","veri_mobile","user_state");
		var value = new Array("{$user['gender']}","{$user['height']}","{$user['weight']}","{$user['waistline']}",
				"{$user['userType']}","{$user['veriEmail']}","{$user['veriMobile']}","{$user['state']}");
		for(var i = 0 ; i <name.length ; i++) {
			select_init(name[i],value[i]);
		}
		initbirthday("{$user['birthday']}");
		initprovince("user_province","user_city","{$user['province']}","{$user['city']}");
	}
</script>
</head>
<body onload="init()">
<form action="__URL__/basemodify" method="post" onsubmit="return validate();">
<div id="member_info_main">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
	<tr>
		<td width="17%" height="25" id="member_info_base_td">注册编号：</td>
		<td width="33%">{$user["userId"]}</td>
		<td width="17%" id="member_info_base_td">注册账号：</td>
		<td>{$user["username"]}</td>
	</tr>
	<tr>
		<td id="member_info_base_td">注册邮箱：</td>
		<td><input name="user_email" type="text" id="user_email"
			value="{$user['email']}"></td>
		<td id="member_info_base_td">注册手机：</td>
		<td><input name="user_mobile" type="text" id="user_mobile"
			value="{$user['mobilePh']}"></td>
	</tr>
	<tr>
		<td width="17%" id="member_info_base_td">姓名：</td>
		<td width="33%"><input name="user_truename" type="text" id="user_truename"
			value="{$user['truename']}"></td>
		<td id="member_info_base_td">性别：</td>
		<td><select name='user_sex' id='user_sex'>
			<option value='0'>男士</option>
			<option value='1'>女士</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">身高：</td>
		<td><select name='user_height' id='user_height'>
			<option value=''>请选择</option>
			<volist name="heightlist" id="height">
			<option value='{$height.opt_value}'>{$height.opt_name}</option>
			</volist>
		</select>cm</td>
		<td id="member_info_base_td">体重：</td>
		<td><select name='user_weight' id='user_weight'>
			<option value=''>请选择</option>
			<volist name="weightlist" id="weight">
			<option value='{$weight.opt_value}'>{$weight.opt_name}</option>
			</volist>
		</select>kg</td>
	</tr>
	<tr>
		<td id="member_info_base_td">腰围：</td>
		<td><select name='user_waistline' id='user_waistline'>
			<option value=''>请选择</option>
			<volist name="waistlinelist" id="waistline">
			<option value='{$waistline.opt_value}'>{$waistline.opt_name}</option>
			</volist>
		</select>cm</td>
		<td id="member_info_base_td">出生日期：</td>
		<td><select name='user_birthday_y' id='user_birthday_y'>
			<option value=''>请选择</option>
			<volist name="yearlist" id="year">
			<option value='{$year.opt_value}'>{$year.opt_name}</option>
			</volist>
		</select> - <select name='user_birthday_m' id='user_birthday_m'>
			<option value=''>请选择</option>
			<volist name="monthlist" id="month">
			<option value='{$month.opt_value}'>{$month.opt_name}</option>
			</volist>
		</select> - <select name='user_birthday_d' id='user_birthday_d'>
			<option value=''>请选择</option>
			<volist name="daylist" id="day">
			<option value='{$day.opt_value}'>{$day.opt_name}</option>
			</volist>
		</select></td>
		<!--  <td id="member_info_base_td">所在地：</td>
		<td><select onchange="setcity('user_province','user_city','{$user['user_city']}');" name="user_province" id="user_province">
			<option value=''>--所在省份--</option>
			<volist name="provincelist" id="province">
			<option value='{$province.opt_value}'>{$province.opt_name}</option>
			</volist>
		</select> <select name="user_city" id="user_city">
			<option value=''>请选择</option>
		</select></td>-->
	</tr>
	<tr>
		<td id="member_info_base_td">验证邮箱：</td>
		<td><select name="veri_email" id="veri_email">
			<option value="0">未验证</option>
			<option value="1">已验证</option>
			<option value="2">验证中</option>
		</select></td>
		<td id="member_info_base_td">验证手机：</td>
		<td><select name="veri_mobile" id="veri_mobile">
			<option value="0">未验证</option>
			<option value="1">已验证</option>
			<option value="2">验证中</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">会员类型：</td>
		<td><select name='user_type' id='user_type'>
			<option value='0'>注册会员</option>
			<option value='1'>VIP会员</option>
			<option value='2'>专家认证会员</option>
		</select></td>
		<td id="member_info_base_td">状态：</td>
		<td><select name="user_state" id="user_state">
			<option value="1">正常</option>
			<option value="0">禁用</option>
		</select></td>
	</tr>
	<tr>
		
		<td id="member_info_base_td">备注：</td>
		<td><textarea name="user_remark" cols="30" rows="5" id="user_remark">{$user['remark']}</textarea></td>
	</tr>
	<tr>
		<td id="member_info_base_td" height="25">注册时间：</td>
		<td>{$user['regTime']}</td>
		<td id="member_info_base_td">最后登录：</td>
		<td>{$user['lastLgTime']}</td>
	</tr>
</table>
<div id="member_info_submit">
	<span class="member_info_notice">注：请勿轻易修改用户注册邮箱和手机，以免导致用户无法登录网站。</span>
	<input type="image" name="submit" src="../Public/images/member/member_info_edit.gif"
		onMouseOver="this.src='../Public/images/member/member_info_edit_2.gif'" 
		onMouseOut="this.src='../Public/images/member/member_info_edit.gif'" alt="修改"> 
	<img src="../Public/images/main/modify_reset.gif" 
		onMouseOver="this.src='../Public/images/main/modify_reset_2.gif'" 
		onMouseOut="this.src='../Public/images/main/modify_reset.gif'" 
		onClick="location.reload()" style="cursor: pointer;" alt="重置">
</div>
</div>
</form>
</body>
</html>